<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <style>
            *{
                padding: 0px;
                margin:0px;
            }
            .container{
                width:900px;
                border:1px solid red;
                margin:20px auto;
            }
            .d1,.d2,.d3,.d4{
                width:360px;
                height: 190px;
                border:5px solid cyan;
                padding:10px;
                float:left;
            }
            .d1{
                margin:40px 30px 30px 30px;
            }
            .d2{
                margin:40px 30px 30px 30px;
            }
            .d3{
                margin:30px 30px 40px 30px;
            }
            .d4{
                margin:30px 30px 40px 30px;
            }
            .clear{
                clear: both;
            }
        </style>
    </head>
    <body>
        <div class="container">
            <div class="d1"><img src="../images/01.jpg" alt=""></div>
            <div class="d2"><img src="../images/02.jpg" alt=""></div>
            <div class="d3"><img src="../images/03.jpg" alt=""></div>
            <div class="d4"><img src="../images/04.jpg" alt=""></div>
            <div class="clear"></div>
        </div>
    </body>
</html>